@import "Constance.scss";

//最顶部
.header_tip {
  background-color: #ffffff;
  height: 37px;
  line-height: 37px;
  border-bottom: 1px solid #dddee1;

  & > .header_tip_content {
    margin: auto;
    width: $--body-width;
    text-align: left;
    color: #666666;
    font-size: 10px;
  }
}

.search_layer{
  background-color: white;
}

// logo和搜索
.logo_search {
  background-color: white;
  text-align: left;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  width: $--body-width;
  height: 120px;

  .logo {
    margin-top: 18px;
    width: 200px;
    height: 65px;
  }

  .logo_tip {
    color: #9F9D9D;
    font-size: 12px;
    margin-top: 60px;
    margin-left: 20px;
    display: inline-block;
  }

  .search {

    margin-top: 16px;
    float: right;

    .search_content {
      width: 420px !important;
    }

    .search_btn {
      margin-left: -4px;
    }

    .hots_search {
      margin-top: 50px;
      font-size: 14px;

      & > .el-link:not(:first-child) {
        margin-left: 8px;
      }
    }
  }
}

$--navigation-height:49px;

.menu_navigation {
  background-color: $--color-primary;
  height: $--navigation-height;

  .el-menu--horizontal {
    margin: auto;
    width: $--body-width;
    height: 100%;
    background-color: $--color-primary;

    & > .el-menu-item {
      background-color: $--color-primary;
      width: 120px;
      padding: 0 !important;
      color: white;
      height: 100%;
      font-size: 16px;
      line-height: $--navigation-height;
      border-bottom: 2px solid transparent;

      &:not(.is-disabled) {
        &:focus {
          background-color: $--color-primary-selected;
          color: white;
        }

        &:hover {
          background-color: $--color-primary-selected;
          color: white;
        }
      }

      &.is-active {
        background-color: $--color-primary-selected;
        border-bottom: 2px solid transparent;
        color: white;
      }

      a {
        font-size: 16px !important;
        display: inline-block;
        width: 100%;
        height: 100%
      }
    }
  }
}


.page_content {
  background-color: #ffffff;
  width: $--body-width;
  margin: 0px auto;
}
